package HP.com.bank_2.wangyu.bean;

public class Person {
    private int cardId;
    private int cardPwd;
    private String userName;
    private String userSex;
    private String userBirthday;
    private String userPhone;
    private String userRegDate;
    private double userMoney;

    public Person() {
    }

    public Person(int cardId, int cardPwd, String userName, String userSex, String userBirthday, String userPhone, String userRegDate, double userMoney) {
        this.cardId = cardId;
        this.cardPwd = cardPwd;
        this.userName = userName;
        this.userSex = userSex;
        this.userBirthday = userBirthday;
        this.userPhone = userPhone;
        this.userRegDate = userRegDate;
        this.userMoney = userMoney;
    }

    public int getCardId() {
        return cardId;
    }

    public void setCardId(int cardId) {
        this.cardId = cardId;
    }

    public int getCardPwd() {
        return cardPwd;
    }

    public void setCardPwd(int cardPwd) {
        this.cardPwd = cardPwd;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getUserBirthday() {
        return userBirthday;
    }

    public void setUserBirthday(String userBirthday) {
        this.userBirthday = userBirthday;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserRegDate() {
        return userRegDate;
    }

    public void setUserRegDate(String userRegDate) {
        this.userRegDate = userRegDate;
    }

    public double getUserMoney() {
        return userMoney;
    }

    public void setUserMoney(double userMoney) {
        this.userMoney = userMoney;
    }

    @Override
    public String toString() {
        return "Person{" +
                "cardId=" + cardId +
                ", cardPwd=" + cardPwd +
                ", userName='" + userName + '\'' +
                ", userSex='" + userSex + '\'' +
                ", userBirthday='" + userBirthday + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", userRegDate='" + userRegDate + '\'' +
                ", userMoney=" + userMoney +
                '}';
    }
}
